package com.chookss.home.entity;

import java.io.Serializable;

public class ContactEntity implements Serializable {

    /**
     * employeeName : 成功工程
     * empNum : 169
     * post :
     * phone :
     * headPhotoThumbUrl :
     * type : 0
     * employeeCode : 0001
     */

    private String employeeName;
    private String empNum;
    private String post;
    private String phone;
    private String headPhotoThumbUrl;
    private String type="1";
    private String employeeCode;
    private boolean halfSelect=false; //是否半选状态  isSelect为true此值一定是FALSE  isSelect为false此值可能是false也可能是true
    private String hierarchyOrgCode="";  //之前各个层级以_链接
    private String reviewerFlag;//1是查阅者0不是
    private String groupName;
    private String groupCode;
    private boolean isSelect = false;

    private String shangBanNum;
    private String xiaBanNum;
    private String postName;
    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }


    public String getShangBanNum() {
        return shangBanNum;
    }

    public void setShangBanNum(String shangBanNum) {
        this.shangBanNum = shangBanNum;
    }

    public String getXiaBanNum() {
        return xiaBanNum;
    }

    public void setXiaBanNum(String xiaBanNum) {
        this.xiaBanNum = xiaBanNum;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }


    public boolean isHalfSelect() {
        return halfSelect;
    }

    public void setHalfSelect(boolean halfSelect) {
        this.halfSelect = halfSelect;
    }



    public String getHierarchyOrgCode() {
        return hierarchyOrgCode;
    }

    public void setHierarchyOrgCode(String hierarchyOrgCode) {
        this.hierarchyOrgCode = hierarchyOrgCode;
    }


    public String getReviewerFlag() {
        return reviewerFlag;
    }

    public void setReviewerFlag(String reviewerFlag) {
        this.reviewerFlag = reviewerFlag;
    }


    public boolean equals(Object obj) {
        ContactEntity u = (ContactEntity) obj;
        return employeeCode.equals(u.employeeCode);
    }

    public int hashCode() {
        String in = employeeCode;
        return in.hashCode();
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }



    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getEmpNum() {
        return empNum;
    }

    public void setEmpNum(String empNum) {
        this.empNum = empNum;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHeadPhotoThumbUrl() {
        return headPhotoThumbUrl;
    }

    public void setHeadPhotoThumbUrl(String headPhotoThumbUrl) {
        this.headPhotoThumbUrl = headPhotoThumbUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getEmployeeCode() {
        return employeeCode;
    }

    public void setEmployeeCode(String employeeCode) {
        this.employeeCode = employeeCode;
    }

}
